package com.cn.test1.data;

public class TopData {
    private String logo = "/img/logo1.png";
    private  String name = "房地产集团";

    public String getLogo() {//用于外部访问
        return logo;
    }
    public String getName() {
        return name;
    }
    public String [] navtitles = new String[7];//动态创建导航标题数组
    public String [] hrefs = new String[7]; //导航超链接数组

    public String[] getNavtitles() {
        return navtitles;
    }

    public String[] getHrefs() {
        return hrefs;
    }

    public TopData(){
        navtitles[0] =  "网站首页";
        navtitles[1] =  "集团概况";
        navtitles[2] =  "产业布局";
        navtitles[3] =  "精品楼盘";
        navtitles[4] =  "新闻中心";
        navtitles[5] =  "人力资源";
        navtitles[6] =  "联系我们";
//一级标题超链接
        hrefs [0] = "/home";
        hrefs [1] = "/description";
        hrefs [2] = "/layout";
        hrefs [3] = "/build";
        hrefs [4] = "/news";
        hrefs [5] = "/hr";
        hrefs [6] = "/callus";
    }
}
